$(function () {
    $(".head").load("header.html");
    $("#foot").load("footer.html");
    $("img.close").click(function () {
        $(this).siblings("img").slideUp("slow");
        $(this).hide();
    });

    var obj = jsonData;        $.each(obj.group, function (index, value) {
            $("#group-list").append(
                "<li class='group-item'>" +
                "<div>" +
                "<a href=" + "detail.html?name=" + value.pid + ">" +
                "<img src=" + "img/" + value.picture + ".png" + " width=\"305px\" height=\"200px\"/>" +
                "</a>" +
                "</div>" +
                "<div class=\"tuangouy-m\"><a href=\"#\">" + value.name +
                "</a>" +
                "<br/>" +
                "<div class=\"group-intro\">" + value.intro + "" +
                "</div>" +
                "<br/>" +
                "<span>" + "团价￥" + value.group_price + "" + "</span>" + "原价：￥" + value.price +
                "</div>" +
                "<div class=\"fengsu\">" + "已有" + value.person_num + "人参与" + "</div>" +
                "</li>");
        })


});